package com.yanjiali.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Package: com.yanjiali.entity
 * @Author: yanjiali
 * @Created: 2025/4/26 19:43
 */
/**
 * 存储对应用户加密收藏夹密码表
 */
@ApiModel(value = "com-yanjiali-entity-EncryptCollectUser")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "encrypt_collect_user")
public class EncryptCollectUser {
    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty(value = "主键id")
    private Long id;

    /**
     * 对应一级收藏id
     */
    @TableField(value = "collect_id")
    @ApiModelProperty(value = "对应一级收藏id")
    private Long collectId;

    /**
     * 对应密码
     */
    @TableField(value = "password")
    @ApiModelProperty(value = "对应密码")
    private String password;

    /**
     * 对应用户的id
     */
    @TableField(value = "user_id")
    @ApiModelProperty(value = "对应用户的id")
    private Long userId;
}